Fix overzalous method annotations for drag and drop
authorAlban Browaeys <prahal@yahoo.com>
Sun, 20 Jan 2013 22:45:17 +0000 (23:45 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 11 Feb 2018 23:28:50 +0000 (23:28 +0000)
commit255e2dd704eed7816278db7e1331fb5cae92c80a
tree072b9b6968905e8f99d24f7cc7f7dea025f97450
parent10d2e44ae23bdb2371495e6a95e8d432ec58c2ca
Fix overzalous method annotations for drag and drop

Functional revert of commit 9c4892f2915.

Fixes introspection scanner warnings like:

  Warning: Gtk: gtk_drag_finish: Methods must belong to the same
  namespace as the class they belong to

That is, the gtk_drag_* functions cannot be methods as they have a
"GdkDragContext" as the instance parameter, and that is not a valid
type for the Gtk namespace.

This is not an introspected ABI change, as the generated introspection
data ignores the annotation.

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=692152
gtk/gtkdnd.c